package com.njitweb.service;

import com.njitweb.pojo.Category;

import java.util.List;

public interface CategoryService {
    void addCategory(Category category);

    List<Category> listCategory();

    void deleteCategory(Integer id);

    Category getDetailCategory(Integer id);

    void updateCategory(Category category);
}
